#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QSqlQuery>
namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private slots:
    void on_insertAct_triggered();

    void on_delAct_triggered();

    void on_updateAct_triggered();

    void on_batchInsertAct_triggered();

    void on_submitAct_triggered();

    void on_refreshAct_triggered();

private:
    Ui::MainWindow *ui;
    void initTable();
};

#endif // MAINWINDOW_H
